package  
{
	/**
	 * ...
	 * @author UWGameDevClub
	 */
	public class Scripts 
	{
		//Tutorial scripts
		public static var StayInRoom:Array = [ [ "Jenny", "There's still a mystery to solve in here. I can't leave." ] ];
		public static var Intro:Array = [ [ "Jenny", "Mr. Bear, Miss Sunshine, you're both here today because I &&know&&%010 what happened to your precious necklace...&&%060 Here it is!&&&&%000 [Find and click the necklace]" ] ];
		public static var ItWasBear:Array = [ [ "Jenny", "Miss Sunshine, I know Mr. Bear stole your necklace.&& How?&& Because,&& Mr. Bear,&& I found your hat%005... %060at the scene of the crime!&&&" ] ];
		public static var NiceTry:Array = [ [ "Jenny", "What???&& This is &&not&& your hat?!&& Ha,& nice try, Mr. Bear.&& I know it fits you perfect!&&&%000 [Shift click to select the hat]"]];
		public static var HatSelection:Array = [ [ "[Tutorial]", "%000[Now that the hat is selected, click on Mr. Bear to use it on him.]"] ];
		public static var AceDetective:Array = [ [ "Jenny", "See?&& Fits perfect!" ],
												 [ "Jenny", "You thought you could fool me?!& I'm Jenny%010...&&%60 Ace Decetive!"],
												 [ "", "%010..." ],
												 function():void { Main.main.music.door(); },
												 [ "Jenny", "Hey,&& was that the door?&& Dad?&& Is that you?&& Dad?" ],
												 function():void {
													Main.main.showDad();
												 },
												 [ "Dad", "Jenny?" ],
												 [ "Jenny", "%050Dad, Dad, Dad!& Mr. Bear tried to steal the necklace from Miss Sunshine,& but he left a whole trail of evidence with his hat so I totally busted him but then he tried to say it wasn’t him,& but I proved it and then he couldn't lie anymore!" ],
												 [ "Dad", "Oh%005...%020 well I’m glad you were able to figure it out." ],
												 [ "Jenny", "Yeah,&&%040 then Miss Sunshine was so happy and she gave me the necklace as a reward!& Do you want to play?& Do you Daddy?" ],
												 [ "Dad", "%010Oh, umm.&& I don’t think so Jen,& I would probably just ruin your fun." ],
												 [ "Jenny", "Please, it’s r%010eeeeeeeeeeeea%030lly fun! You have to figure it all out-" ],
												 [ "Dad", "Why don't you call Carla? I'm sure she'd love to play." ],
												 [ "Jenny", "%010She's in Florida now%005..." ],
												 [ "Dad", "%010Oh%005... %010right%005... %010I'm sorry, I-&& forgot%005..." ],
												 [ "Dad", "I’m just,& really busy today, but don’t let me get in the way of your fun." ],
												 [ "Dad", "I’m going to go out for about five minutes. I’ll leave you to your game." ],
												 [ "Jenny", "%005O-&&kay." ],
												 function():void {
													Main.main.hideDad();
													Main.main.music.door();
													Main.main.timer.start(300, function():void {
															Main.main.playScript(BoozeTimeUp);
														});
												 },
												 [ "Jenny", "Now I have no one to play with..." ],
												 [ "Jenny", "And solving my own mysteries by myself is boring. I wonder..." ],
												 [ "Jenny", "Maybe there are other mysteries I can solve." ],
												 [ "Jenny", "They’re always solving crimes on TV, maybe I should do that too!"],
												 [ "Jenny", "They always search the whole room and find one little clue that changes everything."],
												 [ "Jenny", "I know if I can just look really carefully, I can find clues too."],
												 [ "Jenny", "Maybe I should check the living room?" ] ];
		
		//Tutorial Descriptions
		public static var BearDescription:Array = [ [ "Jenny", "It's Mr. Bear. He's always up to no good. One day I'll put a stop to his life of crime." ] ];
		public static var SunshineDescription:Array = [ [ "Jenny", "That's Miss Sunshine. Her necklace was stolen." ] ];
		public static var NecklaceDescription:Array = [ 
														[ "Jenny", "Carla gave me this necklace last year." ],
														[ "Jenny", "For an art project we both made each other jewlery for fun, and because she was moving away."],
														[ "Jenny", "I haven't seen her since." ] ];
		public static var HatDescription:Array = [ [ "Jenny", "That's Mr. Bear's hat. It must be because it fits him." ] ];
		public static var BallDescription:Array = [ ["Jenny", "A present my Dad gave me the birthday after Mommy left." ], ["Jenny", "I don't really like playing with it, but even after I tried Daddy didn't want to play." ], ["Jenny", "Maybe I did it wrong."] ];
		public static var AppleDescription:Array = [ [ "Jenny", "Oh, no!" ], [ "Jenny", "I was supposed to give this to my teacher when school ended a few days ago." ], [ "Jenny", "I guess I forgot." ] ];
		public static var RopeDescription:Array = [ [ "Jenny", "Me and Carla used to play skip rope a lot." ], [ "Jenny", "I don't think I've used it since." ] ];
		public static var BooksDescription:Array = [ [ "Jenny", "Dr. Mystery and the Stolen Hen!" ], ["Jenny", "That one is my favorite. It's hard to read the words, but I can tell most of the story by pictures" ] ];
		public static var MagnifyingGlass:Array = [ [ "Jenny", "Best for finding small clues!" ], [ "Jenny", "I once used it to find an ant in my room."], ["Jenny", "I helped him find the door." ] ];
		public static var PillowDescription:Array = [ [ "Jenny", "Wait...." ], [ "Jenny", "......." ], [ "Jenny", "Why is there a pillow here?" ] ];
		
		//Stage 1 scripts
		public static var Gate:Array = [ [ "Jenny", "There's got to be something interesting in this room. I should look around more." ] ];
		public static var Bottle:Array = [ [ "Jenny", "It's just a bottle of some sort." ] ];
		public static var FindReceipt:Array = [ [ "Jenny", "Hey, maybe this is a clue." ],
												function():void { Main.main.showReceipt(0); },
												[ "Jenny", "Huh... this is...." ],
												[ "Jenny", "..." ],
												[ "Jenny", "A clue! This must be a paper trail!"],
												[ "Jenny", "If I just find all the things on this, I can solve the mystery!" ],
												[ "Jenny", "Maybe I can impress Daddy if I find them all before he gets home, then he’ll want to play." ],
												function():void { Main.main.hideReceipt(); } ];
		public static var FindBooze:Array = [ [ "Jenny", "Hey, I think this is one of the clues. I just need to find a few more..." ],
											  function():void { Main.main.hideReceipt(); } ];
		public static var FindMoreBooze:Array = [ [ "Jenny", "This looks like another clue along the paper trail!" ],
												  function():void { Main.main.hideReceipt(); } ];
		public static var FindAllBooze:Array = [ function():void { Main.main.timer.cancel(); },
												 [ "Jenny", "I think that’s the last one. Now I’ve found all the clues...but..." ],
												 [ "Jenny", "I don’t get it. When I find the clues in my room, I figure out the mystery. I don’t get what this all means. Did I screw up somehow... but I’m an Ace Detective... that’s what I thought..." ],
												 function():void {
													Main.main.hideReceipt();
													Main.main.showDad();
													Main.main.music.door();
												 },
												 [ "Dad", "Jen, what are you doing out h-- What is... all this..." ],
												 [ "Jenny", "I found all the clues but, I don’t get it. I didn’t figure out the mystery, did I screw up, Daddy? Did--" ],
												 [ "Dad", "No. No Jenny you didn’t screw up, don’t- don’t say that. It’s...it’s....I..." ],
												 [ "Jenny", "Dad?" ],
												 [ "Dad", "Look, let me clean this all up. Afterward I’ll..."],
												 [ "Dad", "It’s almost bed time. How about you get ready and I’ll come read a story to you, how does that sound?" ],
												 [ "Jenny", "Really? Together?" ],
												 [ "Dad", "Yeah, and I promise it’ll make more sense than-" ],
												 [ "Dad", "We’ll enjoy the book together." ],
												 function():void {
													Main.main.hideDad();
													Main.main.playScript(GoodEnding);
												 } ];
		public static var BoozeTimeUp:Array = [ function():void { Main.main.music.door(); },
												[ "Jenny", "Oh, I think Daddy’s home..." ],
												function():void {
													Main.main.hideReceipt();
													Main.main.showDad();
												},
												[ "Dad", "Jenny?" ],
												[ "Jenny", "I was trying to solve a mystery, but... I don’t think I got enough clues..." ],
												[ "Dad", "Well, I’m sure you can figure it out." ],
												[ "Jenny", "Yeah... but I’m getting sleepy now..." ],
												[ "Dad", "Oh, right, your bedtime was ten minutes ago... I should have remembered."],
												[ "Dad", "Your mom would always remember that, I... always forgot."],
												[ "Dad", "I’m sorry Jenny..." ],
												function():void {
													Main.main.hideDad();
													Main.main.playScript(Ending);
												} ];
												
		//ending scripts
		public static var GoodEnding:Array = [ function():void {
													var end:Item = new Item(Art.TheEnd, Items.THEEND);
													end.mouseEnabled = false;
													var credits:Item = new Item(Art.Credits, Items.CREDITS);
													credits.mouseEnabled = false;
													var team:Item = new Item(Art.Community, Items.COMMUNITY);
													var portrait:Item = new Item(Art.Portrait, Items.PORTRAIT);
													portrait.mouseEnabled = false;
													Main.main.addChild(team);
													Main.main.addChild(credits);
													Main.main.addChild(end);
													Main.main.addChild(portrait);
											   },
											   [ "", "" ],
											   function():void { Main.main.removeChildAt(Main.main.numChildren - 1); },
											   [ "", "" ],
											   function():void { Main.main.removeChildAt(Main.main.numChildren - 1); },
											   [ "", "" ],
											   function():void {
												   Main.main.removeChildAt(Main.main.numChildren - 1);
												   Main.main.theEnd();
											   } ];
		public static var Ending:Array = [ function():void {
												var end:Item = new Item(Art.TheEnd, Items.THEEND);
												end.mouseEnabled = false;
												var credits:Item = new Item(Art.Credits, Items.CREDITS);
												credits.mouseEnabled = false;
												var team:Item = new Item(Art.Community, Items.COMMUNITY);
												Main.main.addChild(team);
												Main.main.addChild(credits);
												Main.main.addChild(end);
										   },
										   [ "", "" ],
										   function():void { Main.main.removeChildAt(Main.main.numChildren - 1); },
										   [ "", "" ],
										   function():void {
											   Main.main.removeChildAt(Main.main.numChildren - 1);
											   Main.main.theEnd();
										   } ];
		
		//Misc. descriptions
		public static var TVStand:Array = [ [ "Jenny", "That's where dad keeps all his movies." ],
											[ "Jenny", "We used to watch them with mom all the time." ],
											[ "Jenny", "But we don't have a TV anymore." ] ];
		public static var Plant:Array = [ [ "Jenny", "Mom used to water that plant all the time." ],
										  [ "Jenny", "Dad says he likes it because he remembers her when he sees it." ] ];
	}

}